Tim Deegan [Thu, 1 Feb 2007 15:03:55 +0000 (15:03 +0000)]
Merge
Tim Deegan [Thu, 1 Feb 2007 15:03:37 +0000 (15:03 +0000)]
[PYGRUB] Invoke pygrub with TERM=vt100
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Ewan Mellor [Thu, 1 Feb 2007 14:41:58 +0000 (14:41 +0000)]
Use the new xen-python-path to set PYTHONPATH, rather than trying to do it in
XmTestLib.__init__ (and getting it wrong).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tim Deegan [Thu, 1 Feb 2007 13:15:03 +0000 (13:15 +0000)]
Merge
Tim Deegan [Thu, 1 Feb 2007 13:14:43 +0000 (13:14 +0000)]
[XEN] Wrap compat XLAT_ macros in "do { } while (0)".
This unbreaks code like
if ( !IS_COMPAT(dom) )
memcpy();
else
XLAT_foo();
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Ewan Mellor [Thu, 1 Feb 2007 12:48:53 +0000 (12:48 +0000)]
Break out the Python path interrogation into a separate script. This has the
advantage that the temporary path manipulation cannot affect the main script,
and that it can be shared with other programs, such as xm-test.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 1 Feb 2007 11:55:31 +0000 (11:55 +0000)]
Change VM.HVM_boot to VM.HVM_boot_policy and VM.HVM_boot_params.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Feb 2007 14:15:37 +0000 (14:15 +0000)]
Allocate Xen kexec/kdump elfnote sections of the correct size.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Feb 2007 13:44:35 +0000 (13:44 +0000)]
safe_str*() functions check their destination argument is a
character-array type. Fix two bad callers.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Thu, 1 Feb 2007 11:42:50 +0000 (11:42 +0000)]
Copy the definition of DOM0_UUID into XenDomain so that we don't need to import
large swathes of the server to run the Xen-API tests.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ian Campbell [Thu, 1 Feb 2007 10:21:42 +0000 (10:21 +0000)]
[TOOLS] Remove a debug message which is spamming the logs during live
migration.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Ian Campbell [Thu, 1 Feb 2007 10:20:34 +0000 (10:20 +0000)]
[LINUX] netfront: Don't call netif_carrier_off until the device is
fuly allocated.
netif_carrier_off() causes events to be queued on the device so if we
subsequently abort the allocation (e.g. due to lack of grant entries)
then we crash trying to access the now invalid device.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Travis Betak [Wed, 31 Jan 2007 19:37:44 +0000 (19:37 +0000)]
[HVM][SVM] Updated the SVM V_TPR register on MMIO writes to the VLAPIC TPR
The SVM architecture includes a virtual TPR register. This patch
updates this register on MMIO writes to the HVM Virtual APIC.
VT does not have this register as far as I know so a stub is added in
the VT code.
Signed-off-by: Travis Betak <travis.betak@amd.com>
Tim Deegan [Wed, 31 Jan 2007 18:15:48 +0000 (18:15 +0000)]
Merge
Tim Deegan [Wed, 31 Jan 2007 18:15:00 +0000 (18:15 +0000)]
[HVM] Save/restore: save HPET registers
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Ian Campbell [Wed, 31 Jan 2007 17:58:00 +0000 (17:58 +0000)]
[XEN] Fix perfc after 13756:
56377f5ce588
64 bit guest handles can no longer be passed as parameters to
functions. Extract such parameters into a regular guest handle first.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Tim Deegan [Wed, 31 Jan 2007 17:22:17 +0000 (17:22 +0000)]
Merge
Tim Deegan [Wed, 31 Jan 2007 17:22:00 +0000 (17:22 +0000)]
[HVM] Save/restore: clean up the new hypercall interface
Pass a buffer and size through instead of fixed-size structure.
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Ian Campbell [Wed, 31 Jan 2007 16:54:21 +0000 (16:54 +0000)]
[XEN] Fix dom/sysctl structure alignement.
Versions of gcc up to and including 3.3 appear to ignore
__attribute__((align(x))) when applied to typedefs or to members of
anonymous unions. Workaround this by explicitly aligning each
definition of a 64 bit guest handle.
Tidy up x86_64 compat entry.S a bit.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Emmanuel Ackaouy [Wed, 31 Jan 2007 15:25:04 +0000 (15:25 +0000)]
merge
Emmanuel Ackaouy [Wed, 31 Jan 2007 15:23:51 +0000 (15:23 +0000)]
[TOOLS] Fix typos which breaks readnotes transparent gunzipping ...
From: Gerd Hoffmann <kraxel@suse.de>
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
Alastair Tse [Wed, 31 Jan 2007 15:22:33 +0000 (15:22 +0000)]
[XEND] Fix typos in vfb/vnc detect in image.py
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Wed, 31 Jan 2007 15:08:29 +0000 (15:08 +0000)]
[XENAPI] Add VDI.location support and test c prog for HVM test.
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Wed, 31 Jan 2007 15:06:40 +0000 (15:06 +0000)]
[XENAPI] Remove some deprecated fields from the Xen API test script.
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Wed, 31 Jan 2007 15:05:58 +0000 (15:05 +0000)]
[XEND] Use VDI.location rather than VDI.image_uri/uri for Xen API
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Wed, 31 Jan 2007 15:04:06 +0000 (15:04 +0000)]
[XEND] Make sure other_config is by default an empty string map.
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Wed, 31 Jan 2007 15:03:22 +0000 (15:03 +0000)]
[XEND] Make VBD.bootable in XendConfig kept as int.
This will prevent it from being displayed as 'False' and 'True'
everywhere in the device SXP.
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Wed, 31 Jan 2007 15:02:20 +0000 (15:02 +0000)]
[XEND] Hide other_config from console and vfb SXP to prevent string
representation of dict to appear in SXP.
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Wed, 31 Jan 2007 15:01:09 +0000 (15:01 +0000)]
[XEND] Fix VCPU_params to return string map.
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Wed, 31 Jan 2007 13:20:36 +0000 (13:20 +0000)]
[XEND] Merge VFB support for PV and HVM guests.
This patch merges the way VFB are represented inside Xend by making
HVM VNC consoles use the VFB as its configuration object.
It preserves the way options are specified through xm but will create
a new VFB device that is used by image.py to put vnc config into
qemu-dm's command line. The parsing is moved into image.py's
parseDeviceModel() rather than in configVNC().
Through the Xen API, you can create a 'console' of protocol 'rfb' and
end up with a VNC console, on both HVM and PV guests. The location of
the connecting port is stored in the location attribute of the console
object. This is updated on each XendDomainInfo.update() if it
changes.
Also fixes missing read of the vnclisten and HVM_boot from the
config when initialised via xm. Makes sure bootable attribute for VBD
is store as an int when making SXP config.
Signed-off-by: Alastair Tse <atse@xensource.com>
Alastair Tse [Wed, 31 Jan 2007 12:58:41 +0000 (12:58 +0000)]
[XEND] Make python-pam warning only appear if using XenAPI
Signed-off-by: Alastair Tse <atse@xensource.com>
Tim Deegan [Wed, 31 Jan 2007 12:23:35 +0000 (12:23 +0000)]
[HVM] Save/restore: save shared-info pfn and re-map it on restore
In the short term this allows us to save the same domain more than once.
Longer-term some more careful shared-info management will be needed.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Wed, 31 Jan 2007 10:44:21 +0000 (10:44 +0000)]
Merge
Ian Campbell [Wed, 31 Jan 2007 10:40:38 +0000 (10:40 +0000)]
[XEN] Fix build breakage with gcc 4.1.2.
domain_build.c: In function 'construct_dom' :
domain_build.c:874: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness
Unfortunately adding a simple cast to (char *) doesn't work since that
confuses safe_strcpy so revert to using strlcpy directly.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Tim Deegan [Wed, 31 Jan 2007 10:28:47 +0000 (10:28 +0000)]
[HVM] Save/restore: save RTC state.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Wed, 31 Jan 2007 10:27:10 +0000 (10:27 +0000)]
[HVM] Save/restore: clean up marshalling code
- All entries are now defined as structs and saved/restored
in self-contained operations.
- Save/restore operations are type-safe, to tie each entry's
typecode to a particular struct and its length.
- Save/restore handlers are registered once per host instead of
per domain.
- Detect buffer overrun before it happens and abort.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Ian Campbell [Wed, 31 Jan 2007 10:25:12 +0000 (10:25 +0000)]
[TOOLS] Fix foreign header build breakage.
Having both the Xen tree and the tools tree recurse into the foreign
headers directory causes headaches in parallel builds and when
building 32-bit tools + 64 bit Xen in the same tree.
Therefore we cause mk-symlinks to symlink in the foreign headers build
bits and generate a local version of the headers and checker tool.
Only libxc needs to do this since the other tools were actually
picking up the libxc version of the headers anyway so the mk-symlinks
calls can be removed from these components.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Ian Campbell [Wed, 31 Jan 2007 10:11:26 +0000 (10:11 +0000)]
[XEN] Fix XENVER_capabilities hypercall.
Passing an array to a function turns it into a pointer which confuses
safe_strcat.
Also fix 54->64 typo in ia64 tree.
Thanks to Alex Williamson for pointing out the problem.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 18:30:18 +0000 (18:30 +0000)]
Added VM_metrics class, taking some of the fields from VM. Make VM.static_max
and static_min read-write. Added VM.VCPUs/{max,at_startup}. Make
VM.VCPUs/params a string -> string map.
This is the modelling, the C bindings, and the message file -- Xend support to
follow.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tim Deegan [Tue, 30 Jan 2007 18:30:27 +0000 (18:30 +0000)]
[HVM] Save/restore: Reset PIT period correctly
This fixes some time-speedup after restore in guests that use the PIT.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Keir Fraser [Tue, 30 Jan 2007 17:50:39 +0000 (17:50 +0000)]
pygrub: fsimage binding must free objects with PyObject_DEL, not PyMem_DEL.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Keir Fraser [Tue, 30 Jan 2007 17:39:54 +0000 (17:39 +0000)]
ia64: Use memcpy() to fill ACPI identifier fields.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Ewan Mellor [Tue, 30 Jan 2007 16:55:51 +0000 (16:55 +0000)]
Fix XendNode when no host state is saved.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 16:32:50 +0000 (16:32 +0000)]
Fix typo, as suggested by Stefan Berger.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Keir Fraser [Tue, 30 Jan 2007 16:27:53 +0000 (16:27 +0000)]
Remove sprintf() from Xen. Use snprintf() and friends.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 16:23:35 +0000 (16:23 +0000)]
Remove the VTPM.instance field from the bindings.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Keir Fraser [Tue, 30 Jan 2007 16:23:43 +0000 (16:23 +0000)]
Clean up arch_get_xen_caps() to not use sprintf().
Based on a patch from Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Tue, 30 Jan 2007 16:14:16 +0000 (16:14 +0000)]
ia64, ppc: Remove uses of sprintf().
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Ewan Mellor [Tue, 30 Jan 2007 16:09:16 +0000 (16:09 +0000)]
Added task.session field.
Fix session.get_by_uuid and get_uuid, and remove session.get_all.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@localhost.localdomain [Tue, 30 Jan 2007 15:57:58 +0000 (15:57 +0000)]
ia64: Clean up and fix errors in strncpy -> strlcpy conversion
Signed-off-by: Aron Griffis <aron@hp.com>
Ewan Mellor [Tue, 30 Jan 2007 15:27:10 +0000 (15:27 +0000)]
Added VM.is_control_domain field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@localhost.localdomain [Tue, 30 Jan 2007 14:51:05 +0000 (14:51 +0000)]
Align vTPM support in the Xen-API, documentation and lib-xen
(after the recent changes).
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kaf24@localhost.localdomain [Tue, 30 Jan 2007 14:20:00 +0000 (14:20 +0000)]
Older versions of as86 (<=0.16.0) require macro arguments to be bracketed.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@localhost.localdomain [Tue, 30 Jan 2007 13:59:01 +0000 (13:59 +0000)]
Fix cross-compile (ia64-built-on-x86) failure.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Ewan Mellor [Tue, 30 Jan 2007 13:53:44 +0000 (13:53 +0000)]
Added backreference from PIF_metrics to PIF, and added a uuid to the session
record.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 13:52:03 +0000 (13:52 +0000)]
Added uuid to the PIF_metrics record.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 13:51:45 +0000 (13:51 +0000)]
Added uuid to the PIF record.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 13:46:46 +0000 (13:46 +0000)]
Added host_metrics class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 12:43:40 +0000 (12:43 +0000)]
Added modelling and C bindings for crashdumps, and suspend VDIs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@localhost.localdomain [Tue, 30 Jan 2007 13:52:52 +0000 (13:52 +0000)]
new domain builder fix to boot domU on IA64.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Ian Campbell [Tue, 30 Jan 2007 13:46:48 +0000 (13:46 +0000)]
Push the target to build foreign headers into tools and xen
directories. This allows those directories to be built independently
without relying on the toplevel Makefile.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
kaf24@localhost.localdomain [Tue, 30 Jan 2007 13:42:19 +0000 (13:42 +0000)]
Fix passing keymap parameter to xen-vncfb.
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
kaf24@localhost.localdomain [Tue, 30 Jan 2007 13:39:37 +0000 (13:39 +0000)]
xc_linux_save was broken in 13594:
30af6cfdb05c. Unbreak it.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kaf24@localhost.localdomain [Tue, 30 Jan 2007 13:37:43 +0000 (13:37 +0000)]
linux: Build TPM backend as a module by default.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Emmanuel Ackaouy [Tue, 30 Jan 2007 12:33:43 +0000 (12:33 +0000)]
[XEN] 32on64 fix compat page table shutdown
When releasing the guest page table, do not clobber the xen private
L4 page pointer which is managed by setup/release_compat_l4.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 12:31:20 +0000 (12:31 +0000)]
Added host.logging, to hold server-side logging configuration.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tim Deegan [Tue, 30 Jan 2007 11:57:56 +0000 (11:57 +0000)]
Merge
Alastair Tse [Tue, 30 Jan 2007 11:56:27 +0000 (11:56 +0000)]
[XEND] Fix bootable flag bypass in XendConfig
Signed-off-by: Alastair Tse <atse@xensource.com>
"Zhai, Edwin" [Tue, 30 Jan 2007 11:56:25 +0000 (11:56 +0000)]
[PATCH][HVM] fix smp guest hang after restore
[PATCH][HVM] fix smp guest hang after restore
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
update the pt irq after restore, otherwise all lapic timer intr are lost
Alastair Tse [Tue, 30 Jan 2007 11:37:18 +0000 (11:37 +0000)]
[XEND] Unparsable VLAN numbers should default to -1
Signed-off-by: Alastair Tse <atse@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 11:14:23 +0000 (11:14 +0000)]
Set the log level back to WARN, reverting accidentally committed change.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 01:23:58 +0000 (01:23 +0000)]
Added host.other_config.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 00:36:43 +0000 (00:36 +0000)]
Remove XEN_API_CPU_FEATURE enum.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 00:34:31 +0000 (00:34 +0000)]
Remove VM.actions_after_suspend, which never made any sense.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 30 Jan 2007 00:10:05 +0000 (00:10 +0000)]
Remove the CPU feature handling, unimplementable as it stands.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 29 Jan 2007 19:04:54 +0000 (19:04 +0000)]
Document PIF_HANDLE_INVALID and PIF_METRICS_HANDLE_INVALID.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 29 Jan 2007 19:00:48 +0000 (19:00 +0000)]
Move the io bandwidth fields from PIF onto a new PIF_metrics class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 29 Jan 2007 14:52:27 +0000 (14:52 +0000)]
Fix documentation so that the connection objects (PIF, VBD, and VIF) are
connected to their referands through StaticRO fields.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 29 Jan 2007 13:18:20 +0000 (13:18 +0000)]
Added missing PBD-related C bindings.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 29 Jan 2007 13:17:53 +0000 (13:17 +0000)]
Added modelling and C bindings for the PBD class. PBDs are the analogue of
PIFs, indicating how an SR is attached to a host.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 29 Jan 2007 13:16:00 +0000 (13:16 +0000)]
Tidy-ups; no semantic-change.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 29 Jan 2007 12:57:49 +0000 (12:57 +0000)]
Remove VIF.name from the documentation, matching recent change to Xend.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 29 Jan 2007 12:53:18 +0000 (12:53 +0000)]
Update doc-comments.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 29 Jan 2007 12:19:40 +0000 (12:19 +0000)]
Remove the VDI.parent and VDI.children fields -- this needs more thinking out,
and cannot be supported in this form.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 29 Jan 2007 12:11:13 +0000 (12:11 +0000)]
Rename VM.otherConfig to VM.other_config, for consistency with the other fields,
and implement add_to_other_config and remove_from_other_config in the C
bindings.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 29 Jan 2007 00:05:40 +0000 (00:05 +0000)]
Remove VBD.driver, VIF.type, VIF.name, VTPM.driver. This modelling was never
correct, and the values are best left implicit.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 23:07:37 +0000 (23:07 +0000)]
Document TASK_HANDLE_INVALID.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 23:06:21 +0000 (23:06 +0000)]
Added TASK_HANDLE_INVALID to the messages file.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 23:05:59 +0000 (23:05 +0000)]
Tidy up the VBD API calls.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 18:39:17 +0000 (18:39 +0000)]
Match recent changes to the task class in XenAPI with the get_record call here.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 18:38:47 +0000 (18:38 +0000)]
Fix bootloader handling.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 18:37:42 +0000 (18:37 +0000)]
Fix the handling of MESSAGE_METHOD_UNKNOWN, MESSAGE_PARAMETER_COUNT_MISMATCH,
through the AsyncProxy.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 18:05:13 +0000 (18:05 +0000)]
Add task.allowed_operations field, and task.cancel message. The
task_status_type enum has gained cancelling and cancelled values.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 17:33:50 +0000 (17:33 +0000)]
Made task.name_* read-only (these are set by Xend) and drop task.eta.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 17:21:37 +0000 (17:21 +0000)]
Make session.this_host and session.this_user ROrun -- they are implicitly set
by a call to session.login_with_password, and cannot be created through a
constructor.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 17:11:40 +0000 (17:11 +0000)]
Added a VBD.bootable flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 15:55:55 +0000 (15:55 +0000)]
Fix interface_name() after change of definition for the vlan field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 13:50:56 +0000 (13:50 +0000)]
Document new error codes VLAN_TAG_INVALID and PIF_IS_PHYSICAL.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 28 Jan 2007 13:40:07 +0000 (13:40 +0000)]
Document existing PIF.create_VLAN, and remove PIF.create (PIFs are implicitly
created from the physical host configuration).
Change PIF.name to PIF.device, for consistency with other uses, and make
PIF.VLAN an int.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sat, 27 Jan 2007 18:26:41 +0000 (18:26 +0000)]
Integrate the Xen-API doc into the build.
Signed-off-by: Ewan Mellor <ewan@xensource.com>